package com.ethink.warehouse.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ethink.warehouse.api.info.LogisticsTransferDetailOrderInfo;
import org.apache.ibatis.annotations.Mapper;
import com.ethink.warehouse.common.entity.LogisticsTransferDetailOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 物流调拨详单 Mapper接口
 *
 * @author default
 * @date 2022-11-14
 */
@Mapper
public interface LogisticsTransferDetailOrderMapper extends BaseMapper<LogisticsTransferDetailOrder> {

    /**
     * 根据物流调拨单号查询
     * @param orderNo
     * @return
     */
    List<LogisticsTransferDetailOrderInfo> listLogisticsTransferDetailOrderByOrderNo(@Param("orderNo") String orderNo);

    List<String> queryLogisticsTransferDetailOrderNosByOrderNos(List<String> orderNos);
}